package com.xinzhi.dao;

import com.xinzhi.model.Curriculum_vitae;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
@Mapper
public interface Curriculum_vitaeMapper {
    /**
     * 查看简历
     *
     * @param page
     * @return
     */
    List<Curriculum_vitae> findAll(Integer page);

    /**
     * 修改简历
     *
     * @param curriculum_vitae
     * @return
     */
    int updatevitae(Curriculum_vitae curriculum_vitae);

    /**
     * 增加简历
     *
     * @param curriculum_vitae
     * @return
     */
    int addvitae(Curriculum_vitae curriculum_vitae);

    /**
     * 删除简历
     *
     * @param
     * @return
     */
    int deletevitae(@Param("name") String name);

}
